package com.wc.week3.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关注公众号：王聪
 * @since 2022-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("goodsName")
    private String goodsName;

    private Double price;

    @TableField("goodsDate")
    private LocalDate goodsDate;

    @TableField("piHao")
    private String piHao;

    @TableField("productName")
    private String productName;


}
